package com.vcc.data.entity;


import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Table;
import com.vcc.data.base.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@EqualsAndHashCode(callSuper = true)
@Data
@Setter
@Getter
@Table(value = "vcc_user_rate")
public class UserRate extends BaseEntity implements Serializable {

    @Column(comment = "用户ID", value = "user_id")
    private Long userId;

    @Column(comment = "费率", value = "rate")
    private BigDecimal rate;

    @Column(comment = "提现费率", value = "clear_rate")
    private BigDecimal clearRate;

    @Column(comment = "活动费率", value = "activity_rate")
    private BigDecimal activityRate;

    @Column(comment = "活动开始时间", value = "activity_start_date")
    private Date activityStartDate;

    @Column(comment = "活动结束时间", value = "activity_end_date")
    private Date activityEndDate;

    @Column(comment = "操作用户Id", value = "operation_user_id")
    private Long operationUserId;

}
